package com.wsserver.service;

import com.wsserver.pojo.User;
import org.springframework.stereotype.Service;

import javax.jws.WebService;

//对外发布服务的接口
@WebService
@Service
public interface UserService {

    //对外发布服务的接口的方法
    int  addUser(User user);
    int deleteUser(Integer id);
    int updateUser(User user);
    User queryUser(Integer id);
}
